/*
 * fbank.com Inc.
 * Copyright (c) 2020 All Rights Reserved.
 * create by fm
 * date:2020-04-26
 */
package com.ouwen.smartpay.dao;


import com.fm.module.mybatis.EntityMybatisDao;
import com.ouwen.smartpay.entity.NotifyMessage;

import java.util.List;

/**
 * 异步通知消息表 Mybatis Dao
 * <p>
 * Date: 2020-04-26 10:57:42
 *
 * @author fm
 */
public interface NotifyMessageDao extends EntityMybatisDao<NotifyMessage> {

    NotifyMessage findByPartnerIdAndSubPartnerIdAndMerchOrderNo(String partnerId, String subPartnerId, String merchOrderNo);

    int updateProccessingStatus(Long id);

    List<NotifyMessage> listUnProcessed(Integer topNum);

}
